From 9a2c323f4f27e2865fe1e2b374ad800caca16f36 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Wed, 29 Oct 2008 11:02:23 +0900 Subject: [PATCH] [IA64] fix XENMEM_add_to_physmap with XENMAPSPACE_mfn. page reference count was leaked so that hvm domain wasn't freed. This patch fixes it. Signed-off-by: Isaku Yamahata --- xen/arch/ia64/xen/mm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/ia64/xen/mm.c b/xen/arch/ia64/xen/mm.c index 0ccd756046..1d530e77ce 100644 --- a/xen/arch/ia64/xen/mm.c +++ b/xen/arch/ia64/xen/mm.c @@ -3365,7 +3365,6 @@ arch_memory_op(int op, XEN_GUEST_HANDLE(void) arg) /* Map at new location. */ /* Here page->count_info = PGC_allocated | N where N >= 1*/ __guest_physmap_add_page(d, xatp.gpfn, mfn); - page = NULL; /* prevent put_page() */ out: domain_unlock(d); -- 2.30.2